inspector: Fix showing the frame clock
authorMatthias Clasen <mclasen@redhat.com>
Wed, 8 May 2019 02:44:24 +0000 (02:44 +0000)
committerMatthias Clasen <mclasen@redhat.com>
Wed, 8 May 2019 02:44:24 +0000 (02:44 +0000)
We want to go to the object, not just select it
in the list (which does not even contain frame clocks).

gtk/inspector/misc-info.c

index 44d37a5870d57c83dfd9fb259cb2769aea00195c..799838e8cb20238e8dba7dcdee3136ea06f1cf26 100644 (file)
@@ -180,7 +180,7 @@ show_object (GtkInspectorMiscInfo *sl,
              const gchar          *tab)
 {
   g_object_set_data_full (G_OBJECT (sl->priv->object_tree), "next-tab", g_strdup (tab), g_free);
-  gtk_inspector_object_tree_select_object (sl->priv->object_tree, object);
+  gtk_inspector_object_tree_activate_object (sl->priv->object_tree, object);
 }
 
 static void